package com.Logistics.allocation;

import com.Logistics.entity.range.range;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "pd-base", path = "/allocation")
public interface Range {

    /**
     * 根据user_id查询快递员的范围
     * @param userid
     * @return
     */
    @GetMapping("/Range_to/{userid}")
    public range PostAllocationRangeList_to(@PathVariable("userid") String userid);
}
